<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:75:"D:\phpStudy\WWW\fastAdmin\public/../application/index\view\index\index.html";i:1526548608;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <title>走心更走胃-首页</title>
        <!-- Bootstrap Core CSS -->
        <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
        <link href="/assets/css/index.css" rel="stylesheet">
        <!-- Plugin CSS -->
        <link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
        <link href="//cdn.bootcss.com/simple-line-icons/2.4.1/css/simple-line-icons.min.css" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="/static/css/index.css" />
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
            <script src="//cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
            <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>

    <body id="page-top">

        <nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-menu">
                        <span class="sr-only">Toggle navigation</span><i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand page-scroll" href="#page-top"><img src="/static/images/logo-0.jpg" style="width:200px;" alt=""></a>
                </div>

                <div class="collapse navbar-collapse" id="navbar-collapse-menu">
                    <ul class="nav navbar-nav navbar-right">
                        <li>
                            <div class="search">
                                <form action="<?php echo url('/list'); ?>">
                                    <input type="text" name="name">
                                </form>
                            </div>
                        </li>
                        <li><a href="/">首页</a></li>
                        <li><a href="/">热量计算</a></li>
                        <li><a href="<?php echo url('index/user/index'); ?>">个人中心</a></li>
                        <li><a href="<?php echo url('/comment'); ?>">网友反馈</a></li>
                        <li><a href="/">关于我们</a></li>
                    </ul>
                </div>
                <!-- /.navbar-collapse -->
            </div>
            <!-- /.container-fluid -->
        </nav>

        <header>
            <div class="container">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="header-content">
                            <div class="header-content-inner">
                                <h1>个人美食网</h1>
                                <h3>走胃更走心</h3>
                                <a href="<?php echo url('index/user/index'); ?>" class="btn btn-outline btn-xl page-scroll">个人中心</a>
                                <a href="<?php echo url('admin/index/login'); ?>" class="btn btn-warning btn-xl page-scroll">进入后台</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </header>

        <section id="features" class="features">
            <div class="container">
                <!--<div class="row">
                    <div class="col-lg-12 text-center">
                        <div class="section-heading">
                            <h2><?php echo __('Features'); ?></h2>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-md-4">
                                    <div class="feature-item">
                                        <i class="icon-user text-primary"></i>
                                        <h3><?php echo __('Auth'); ?></h3>
                                        <p class="text-muted"><?php echo __('Auth tips'); ?></p>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="feature-item">
                                        <i class="icon-screen-smartphone text-primary"></i>
                                        <h3><?php echo __('Responsive'); ?></h3>
                                        <p class="text-muted"><?php echo __('Responsive tips'); ?></p>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="feature-item">
                                        <i class="icon-present text-primary"></i>
                                        <h3><?php echo __('Languages'); ?></h3>
                                        <p class="text-muted"><?php echo __('Languages tips'); ?></p>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="feature-item">
                                        <i class="icon-layers text-primary"></i>
                                        <h3><?php echo __('Module'); ?></h3>
                                        <p class="text-muted"><?php echo __('Module tips'); ?></p>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="feature-item">
                                        <i class="icon-docs text-primary"></i>
                                        <h3><?php echo __('CRUD'); ?></h3>
                                        <p class="text-muted"><?php echo __('CRUD tips'); ?></p>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="feature-item">
                                        <i class="icon-puzzle text-primary"></i>
                                        <h3><?php echo __('Extension'); ?></h3>
                                        <p class="text-muted"><?php echo __('Extension tips'); ?></p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>-->
                <div class="tab">
                    <ul>
                        <?php if(is_array($categories) || $categories instanceof \think\Collection || $categories instanceof \think\Paginator): $k = 0; $__LIST__ = $categories;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$category): $mod = ($k % 2 );++$k;if($k == 1): ?>
                        <li class="tab-item active"><?php echo $category['name']; ?><span>◆</span></li>
                        <?php else: ?>
                        <li class="tab-item"><?php echo $category['name']; ?><span>◆</span></li>
                        <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
                <div class="menu">
                    <?php if(is_array($res) || $res instanceof \think\Collection || $res instanceof \think\Paginator): $key = 0; $__LIST__ = $res;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$items): $mod = ($key % 2 );++$key;if($key == 2): ?>
                    <div class="main<?php echo $key-1; ?> product">
                        <ul>
                            <?php if(is_array($items) || $items instanceof \think\Collection || $items instanceof \think\Paginator): $k = 0; $__LIST__ = $items;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($k % 2 );++$k;?>
                            <li>
                                <a href="<?php echo url('/show/'.$item['id']); ?>"><img src="<?php echo $item['image']; ?>" alt="" class="lazyload" style="border-radius: 6px"><p><?php echo $item['name']; ?></p></a>
                            </li>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                            <div style="clear: both"></div>
                        </ul>
                    </div>
                    <?php else: ?>
                    <div class="main<?php echo $key-1; ?> product" style="display: none;">
                        <div class="main">
                            <ul>
                                <?php if(is_array($items) || $items instanceof \think\Collection || $items instanceof \think\Paginator): $k = 0; $__LIST__ = $items;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($k % 2 );++$k;?>
                                <li>
                                    <a href="<?php echo url('/show/'.$item['id']); ?>"><img src="<?php echo $item['image']; ?>" alt="" class="lazyload"  data-original="/static/images/lazyload.gif" style="border-radius: 6px"><p><?php echo $item['name']; ?></p></a>
                                </li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                                <div style="clear: both"></div>
                            </ul>
                        </div>
                    </div>
                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </div>
            </div>
        </section>

        <section class="cta">
            <div class="cta-content">
                <div class="container">
                    <h2><?php echo __('Do not hesitate'); ?><br><?php echo __('Start to act'); ?></h2>
                    <a href="https://doc.fastadmin.net/docs/contributing.html" class="btn btn-outline btn-xl page-scroll"><?php echo __('Contribution'); ?></a>
                </div>
            </div>
            <div class="overlay"></div>
        </section>

        <footer>
            <div class="container">
                <p>Copyright &copy; 2004-2019 <?php echo $site['name']; ?> <?php echo __('Copyrights'); ?></p>
                <ul class="list-inline">
                    <li>
                        <a href="http://food.poco.cn/">POCO美食网</a>
                    </li>
                    <li>
                        <a href="http://www.zhms.cn/">中华美食网</a>
                    </li>
                    <li>
                        <a href="http://life.iqiyi.com/">爱奇艺生活</a>
                    </li>
                    <li>
                        <a href="http://www.21food.cn/">食品商务网</a>
                    </li>
                    <li>
                        <a href="http://www.mama.cn/">妈妈网</a>
                    </li>
                    <li>
                        <a href="http://www.258.com/">企业服务平台</a>
                    </li>
                    <li>
                        <a href="http://www.39yst.com/">三九养生堂</a>
                    </li>
                    <li>
                        <a href="http://www.yidianzixun.com/">一点资讯</a>
                    </li>
                    <li>
                        <a href="http://www.hc360.com/">慧聪网</a>
                    </li>
                </ul>
            </div>
        </footer>
        <!-- jQuery -->
        <script src="//cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
        <!-- Bootstrap Core JavaScript -->
        <script src="//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
        <!-- Plugin JavaScript -->
        <script src="//cdn.bootcss.com/jquery-easing/1.4.1/jquery.easing.min.js"></script>
        <!-- Lazyload JavaScript -->
        <script type="text/javascript" src="//cdn.bootcss.com/jquery.lazyload/1.9.1/jquery.lazyload.min.js" ></script>
        <script src="/static/js/slider.min.js"></script>
        <script>
            $(function () {
                $(window).on("scroll", function () {
                    $("#mainNav").toggleClass("affix", $(window).height() - $(window).scrollTop() <= 50);
                });
                /*//发送版本统计信息
                try {
                    var installed = localStorage.getItem("installed");
                    if (!installed) {
                        $.ajax({
                            url: "<?php echo \think\Config::get('fastadmin.api_url'); ?>/statistics/installed",
                            data: {
                                version: "<?php echo config('fastadmin.version'); ?>",
                                os: "<?php echo PHP_OS; ?>",
                                sapi: "<?php echo PHP_SAPI; ?>",
                                tpversion: "<?php echo THINK_VERSION; ?>",
                                phpversion: "<?php echo PHP_VERSION; ?>",
                                software: "<?php echo \think\Request::instance()->server('SERVER_SOFTWARE'); ?>",
                                url: location.href,
                            },
                            dataType: 'jsonp',
                        });
                        localStorage.setItem("installed", true);
                    }
                } catch (e) {
                }*/
            });
        </script>
        <script>
            var _hmt = _hmt || [];
            (function () {
                var hm = document.createElement("script");
                hm.src = "https://hm.baidu.com/hm.js?f8d0a8c400404989e195270b0bbf060a";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(hm, s);
            })();
        </script>
        <script>
            $(function () {
                $(".tab>li").mouseenter(function () {
                    $(this).addClass("active").siblings("li").removeClass("active");
                    $(".menu div").eq($(this).index()).addClass("selected").siblings("div").removeClass("selected");
                });
                $('.tab-item').click(function () {
                    $(this).addClass('active').siblings().removeClass('active')
                    var index = $(this).index();
                    $('.main' + (index + 1)).show().siblings().hide()
                });

                $('.searchBtn').click(function() {
                    $(this).prev().submit()
                });

                var options = {
                    $AutoPlay: 1
                };
                var jssor_1_slider = new $JssorSlider$("jssor_1", options);
            });
        </script>

    </body>

</html>